const ejs = require('ejs')
const fs = require('fs')

const compileEjs = (templatePath, data) => {
	const res = ejs.render(fs.readFileSync(templatePath, 'utf-8'), data)

	console.log(res)
}

module.exports = {
	compileEjs
}
